{include file="$sMainTemplatePath/_modules/Listing/Browse.html"}
<table style="width:100%;" cellpadding="0" cellspacing="0">
	<tr>
		<td style="font-size:8pt;" class="color">
			{if empty($aListing)}
			<div style="font-size:9pt;" class="color">{language text="no_listing"}</div>
			{else}
			<div style="font-size:9pt;" class="color">
				{language text='global_pager' replace1=$aPaging.fromRow replace2=$aPaging.toRow replace3=$aPaging.totalRows}
			</div>
			<br />
            <div class="border2" style="padding: 2px">
			<table style="width:100%;" class="mainmenu5" cellspacing="0" cellpadding="4" class="border2">
				<tr>
					<td style="width:15%;vertical-align:top;font-size:9pt;text-align:center;">
						<img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
						<span style="vertical-align:middle;"><b>{language text="date"}</b></span>
					</td>
					<td style="width:70%;font-size:9pt;vertical-align:top;">
						<img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
						<span style="vertical-align:middle;"><b>{language text="subject"}</b></span>
					</td>
					<td style="width:15%;vertical-align:top;font-size:9pt;text-align:center;">
						<img src="design/pic/spacer.gif" class="sqr" style="vertical-align:middle;" alt="" width="7" height="7" />
						<span style="vertical-align:middle;"><b>{language text="views"}</b></span>
					</td>
				</tr>
			</table>
			{foreach from=$aListing item=aItem name=listings}
			<table style="width:100%;border-top:0px;" cellpadding="3" cellspacing="3" {if $smarty.foreach.listings.iteration % 2}class="border13"{/if}>
				<tr>
					<td style="width:15%;vertical-align:top;text-align:center;font-size:8pt;" class="color">
						{$aItem.time|date_format:$sDateFormatShort}<br />
						{if $aItem.bloc}
							<a href="{url link=public.listing.viewall country=$aItem.location}">{img src=$aItem.srcf alt=$aItem.location style="vertical-align:middle;" onmouseover="showInfo2(this.alt)" onmouseout="return nd();" style="vertical-align: middle;" height="12" width="18"}</a>
						{/if}
					</td>
					<td style="width:70%;font-size:9pt;vertical-align:top;" class="color">
						<b><a href="{url link=public.listing.view id=$aItem.id foxseotitle=$aItem.title}">{$aItem.title|escape}</a></b>
						<div style="padding:4px;font-size:8pt;">
							<b>{language text='Mod_Listing.posted_by'}:</b> <a href="{url link=public.user name=$aItem.user}">{$aItem.user}</a>
		 					{if !$aItem.views}<span style="font-size:7pt;">( {language text="new"} )</span>{/if}
						</div>
						<div style="padding:4px;font-size:8pt;">
							<b>{language text="location"}:</b> {$aItem.city|escape}{if $aItem.state and ' ' != $aItem.state}, {$aItem.state}{/if}
						</div>
					</td>
					<td style="width:15%;vertical-align:middle;text-align:center;font-size:9pt;" class="color">{$aItem.views}</td>
				</tr>
			</table>
			{/foreach}
            </div>
		</td>
		{/if}
	</tr>
</table>
{include file="$sMainTemplatePath/_blocks/pager.html"}
<br />
<br />